<template>
  <div style="padding: 0 15px 0 10px;" @click="refreshClick">
    <span class="iconfont icon-refresh" />
  </div>
</template>

<script>
export default {
  name: 'Refresh',
  props: {
    isActive: {
      type: Boolean,
      default: false
    }
  },
  methods: {
    refreshClick() {
      this.$emit('refreshClick')
    }
  }
}
</script>

<style scoped>
.iconfont {
  font-size:18px;
  color:#333;
}

.hamburger.is-active {
  transform: rotate(180deg);
}
</style>
